import 'package:json_annotation/json_annotation.dart';

part 'task_submit_model.g.dart';

@JsonSerializable()
class TaskSubmitModel {
  final String comment;
  final List<String>? images;

  TaskSubmitModel({
    required this.comment,
    required this.images,
  });

  factory TaskSubmitModel.fromJson(Map<String, dynamic> json) =>
      _$TaskSubmitModelFromJson(json);

  Map<String, dynamic> toJson() => _$TaskSubmitModelToJson(this);
}